package org.nanotek.cms.domain.lucene;
import org.apache.lucene.index.IndexWriter;
import org.nanotek.lucene.IndexConfig;

@SuppressWarnings("serial")
public class LuceneIndexWriterHolder extends IndexHolder<IndexWriter> {

	private IndexWriter targetIndex;
	private IndexConfig indexConfig;

	public IndexWriter getTargetIndex() {
		return targetIndex;
	}

	public void setTargetIndex(IndexWriter targetIndex) {
		this.targetIndex = targetIndex;
	}

	public IndexConfig getIndexConfig() {
		return indexConfig;
	}

	public void setIndexConfig(IndexConfig indexConfig) {
		this.indexConfig = indexConfig;
	}

	@Override
	public String getId() {
		return innerKong;
	}

}
